package aaa;

import java.util.List;

import com.attilax.collection.list;
import com.attilax.collection.listUtil;
import com.attilax.util.Funcx;
import com.google.common.collect.Lists;

public class ttt {
	
	public static void main(String[] args) {
		List<String> li=Lists.newArrayList();
		li.add("sina");li.add("cn");
		li=listUtil.map_generic(li, new Funcx<Object, String>(){

			@Override
			public String invoke(Object... o) {
			 
				return o[0].toString().trim();
			}});
		 System.out.println(li);
		 System.out.println("--f");
	}

}
